package com.lanbu.system.domain.mongo;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;
import java.util.Map;

@Document(collection = "apps")
@Data
public class MongoApps {

    @Id
    private ObjectId id;
    private ObjectId teamId;
    private ObjectId tmbId;
    private String name;
    private String type;
    private String version;
    private String avatar;
    private String intro;
    private String permission;
    private List<String> teamTags;
    private List<Map<String, Object>> modules;
    private List<Map<String, Object>> edges;
    private Map<String, Object> chatConfig;
    private String updateTime;
    private int __v;

}
